package com.cloud.school.app.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("聊天室记录信息")
public class ChatRoomModel {

    @ApiModelProperty("聊天室id")
    private Long id;

    /**
     * 聊天室名
     */
    @ApiModelProperty("聊天室名")
    private String name;

    /**
     * 聊天室简介
     */
    @ApiModelProperty("聊天室简介")
    private String summary;

    @ApiModelProperty("创建人")
    private Long createUid;

    @ApiModelProperty("创建时间")
    private Long createTime;

    @ApiModelProperty("在线人数")
    private Long onLineNum;
}